package com.ctgu.fastleader.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class OutputRecord {
    private Integer outputid;

    private Integer orderid;

    private Integer goodsid;

    private Integer houseid;

    private String shelfid;

    private Integer num;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date outputdate;

    public OutputRecord() {
    }

    public OutputRecord(Integer orderid, Integer goodsid, Integer houseid, String shelfid, Integer num, Date outputdate) {
        this.orderid = orderid;
        this.goodsid = goodsid;
        this.houseid = houseid;
        this.shelfid = shelfid;
        this.num = num;
        this.outputdate = outputdate;
    }

    public Integer getOutputid() {
        return outputid;
    }

    public void setOutputid(Integer outputid) {
        this.outputid = outputid;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getHouseid() {
        return houseid;
    }

    public void setHouseid(Integer houseid) {
        this.houseid = houseid;
    }

    public String getShelfid() {
        return shelfid;
    }

    public void setShelfid(String shelfid) {
        this.shelfid = shelfid == null ? null : shelfid.trim();
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getOutputdate() {
        return outputdate;
    }

    public void setOutputdate(Date outputdate) {
        this.outputdate = outputdate;
    }
}